3.3049 \(\int (a+b (c x^q)^n)^p \, dx\)

Optimal. Leaf size=66 \[ x \left (a+b \left (c x^q\right )^n\right )^p \left (\frac{b \left (c x^q\right )^n}{a}+1\right )^{-p} \, _2F_1\left (-p,\frac{1}{n q};1+\frac{1}{n q};-\frac{b \left (c x^q\right )^n}{a}\right ) \]

[Out]

(x*(a + b*(c*x^q)^n)^p*Hypergeometric2F1[-p, 1/(n*q), 1 + 1/(n*q), -((b*(c*x^q)^n)/a)])/(1 + (b*(c*x^q)^n)/a)^
p

________________________________________________________________________________________

Rubi [A]  time = 0.026935, antiderivative size = 66, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {256, 246, 245} \[ x \left (a+b \left (c x^q\right )^n\right )^p \left (\frac{b \left (c x^q\right )^n}{a}+1\right )^{-p} \, _2F_1\left (-p,\frac{1}{n q};1+\frac{1}{n q};-\frac{b \left (c x^q\right )^n}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Int[(a + b*(c*x^q)^n)^p,x]

[Out]

(x*(a + b*(c*x^q)^n)^p*Hypergeometric2F1[-p, 1/(n*q), 1 + 1/(n*q), -((b*(c*x^q)^n)/a)])/(1 + (b*(c*x^q)^n)/a)^
p

Rule 256

Int[((a_) + (b_.)*((c_.)*(x_)^(q_.))^(n_))^(p_.), x_Symbol] :> Subst[Int[(a + b*c^n*x^(n*q))^p, x], x^(n*q), (
c*x^q)^n/c^n] /; FreeQ[{a, b, c, n, p, q}, x] &&  !RationalQ[n]

Rule 246

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[(a^IntPart[p]*(a + b*x^n)^FracPart[p])/(1 + (b*x^n)/a)^Fr
acPart[p], Int[(1 + (b*x^n)/a)^p, x], x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILt
Q[Simplify[1/n + p], 0] &&  !(IntegerQ[p] || GtQ[a, 0])

Rule 245

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*x*Hypergeometric2F1[-p, 1/n, 1/n + 1, -((b*x^n)/a)],
x] /; FreeQ[{a, b, n, p}, x] &&  !IGtQ[p, 0] &&  !IntegerQ[1/n] &&  !ILtQ[Simplify[1/n + p], 0] && (IntegerQ[p
] || GtQ[a, 0])

Rubi steps

\begin{align*} \int \left (a+b \left (c x^q\right )^n\right )^p \, dx &=\operatorname{Subst}\left (\int \left (a+b c^n x^{n q}\right )^p \, dx,x^{n q},c^{-n} \left (c x^q\right )^n\right )\\ &=\operatorname{Subst}\left (\left (\left (a+b c^n x^{n q}\right )^p \left (1+\frac{b c^n x^{n q}}{a}\right )^{-p}\right ) \int \left (1+\frac{b c^n x^{n q}}{a}\right )^p \, dx,x^{n q},c^{-n} \left (c x^q\right )^n\right )\\ &=x \left (a+b \left (c x^q\right )^n\right )^p \left (1+\frac{b \left (c x^q\right )^n}{a}\right )^{-p} \, _2F_1\left (-p,\frac{1}{n q};1+\frac{1}{n q};-\frac{b \left (c x^q\right )^n}{a}\right )\\ \end{align*}

Mathematica [A]  time = 0.0529765, size = 66, normalized size = 1. \[ x \left (a+b \left (c x^q\right )^n\right )^p \left (\frac{b \left (c x^q\right )^n}{a}+1\right )^{-p} \, _2F_1\left (-p,\frac{1}{n q};1+\frac{1}{n q};-\frac{b \left (c x^q\right )^n}{a}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*(c*x^q)^n)^p,x]

[Out]

(x*(a + b*(c*x^q)^n)^p*Hypergeometric2F1[-p, 1/(n*q), 1 + 1/(n*q), -((b*(c*x^q)^n)/a)])/(1 + (b*(c*x^q)^n)/a)^
p

________________________________________________________________________________________

Maple [F]  time = 0.663, size = 0, normalized size = 0. \begin{align*} \int \left ( a+b \left ( c{x}^{q} \right ) ^{n} \right ) ^{p}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*(c*x^q)^n)^p,x)

[Out]

int((a+b*(c*x^q)^n)^p,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(c*x^q)^n)^p,x, algorithm="maxima")

[Out]

integrate(((c*x^q)^n*b + a)^p, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(c*x^q)^n)^p,x, algorithm="fricas")

[Out]

integral(((c*x^q)^n*b + a)^p, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (a + b \left (c x^{q}\right )^{n}\right )^{p}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(c*x**q)**n)**p,x)

[Out]

Integral((a + b*(c*x**q)**n)**p, x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (\left (c x^{q}\right )^{n} b + a\right )}^{p}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(c*x^q)^n)^p,x, algorithm="giac")

[Out]

integrate(((c*x^q)^n*b + a)^p, x)